package com.baitai.system.domain;

import java.util.Date;

import com.baitai.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baitai.common.annotation.Excel;

/**
 * 签到记录对象 user_sign_in_records
 * 
 * @author xx
 * @date 2024-07-21
 */
public class UserSignInRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 签到状态 */
    @Excel(name = "签到状态")
    private String status;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signInDate;


    /** 观看次数 */
    @Excel(name = "观看次数")
    private String numberOfViews;

    /** 连续签到天数 */
    @Excel(name = "连续签到天数")
    private String continuousDays;

    /** 观看成功获取积分数 */
    @Excel(name = "观看成功获取积分数")
    private String viewsSuccessPoints;

    /** 额外积分数 */
    @Excel(name = "额外积分数")
    private String additionalPoints;
    private String isPrivate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setSignInDate(Date signInDate) 
    {
        this.signInDate = signInDate;
    }

    public Date getSignInDate() 
    {
        return signInDate;
    }

    public void setNumberOfViews(String numberOfViews)
    {
        this.numberOfViews = numberOfViews;
    }

    public String getNumberOfViews()
    {
        return numberOfViews;
    }
    public void setContinuousDays(String continuousDays)
    {
        this.continuousDays = continuousDays;
    }

    public String getContinuousDays()
    {
        return continuousDays;
    }
    public void setViewsSuccessPoints(String viewsSuccessPoints)
    {
        this.viewsSuccessPoints = viewsSuccessPoints;
    }

    public String getViewsSuccessPoints()
    {
        return viewsSuccessPoints;
    }
    public void setAdditionalPoints(String additionalPoints)
    {
        this.additionalPoints = additionalPoints;
    }

    public String getAdditionalPoints()
    {
        return additionalPoints;
    }

    public String getIsPrivate() {
        return isPrivate;
    }

    public void setIsPrivate(String isPrivate) {
        this.isPrivate = isPrivate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("status", getStatus())
                .append("signInDate", getSignInDate())
                .append("numberOfViews", getNumberOfViews())
                .append("continuousDays", getContinuousDays())
                .append("viewsSuccessPoints", getViewsSuccessPoints())
                .append("additionalPoints", getAdditionalPoints())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
